
<!doctype html>

<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>Question Page</title>
		<meta name="description" content="form to add new books">
		<meta name="author" content="Mark Tyers">
		<link href="style.css" type="text/css" rel="stylesheet" />
	</head>
	<body>
		<p><a href="/">HomePage</a></p>
		<form action="/question/calculateScore" method="post">
		<input hidden name="sumScore" value="{{sumScore}}">
		<ul>
		{{#each questionList}}
			<li>{{question_name}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;({{score}})</li>
				{{#each answerChoice}}
				<li style="list-style: none;"><input name="{{question_id}}" type="radio" value="{{is_right}}" />{{choince}}</li>
				{{/each}}
				<br>
        {{/each}}
		</ul>
		<p><input type="submit" value="submit your answer"></p>
		</form>
	</body>
</html>
